﻿using Mes.Pendant.ProcurementWarehousings.Dto;
using Mes.Pendant.SupplierInterface.SupplierDto;
using Mes.Pendant.SupplierManagements;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace Mes.Pendant.ProcurementWarehousings
{
    public interface IProcurementWarehousingService : IApplicationService
    {
        Task<List<SupplierManagement>> Getsuppernames();

        /// <summary>
        /// 采购入库单列表
        /// </summary>
        /// <returns></returns>
        Task<PagedResult> GetProcurementWarehousingList(string? lbounListCode, string? lbounListName, int page = 1, int limit = 10);

        Task<int> AddProcurementWarehousing(ProcurementWarehousingDto procurementWarehousingDto);

        Task<int> DeleteProcurementWarehousing(int id);

        Task<int> UpdateProcurementWarehousing(ProcurementWarehousingDto procurementWarehousingDto);

        Task<ProcurementWarehousingDto> GetProcurementWarehousingInfo(int id);
    }
}
